<template>
  <div class=''>
    <el-row>0.0023 + 0.00000000000001 = {{accAdd}}</el-row>
    <el-row>0.0023 - 0.00000011 = {{accSub}}</el-row>
    <el-row>0.0023 * 100 = {{accMul}}</el-row>
    <el-row>0.0023 / 0.00001 = {{accDiv}}</el-row>
    <el-row>12.24 % 10 = {{accMod}}</el-row>
  </div>
</template>

<script>
import arithmetic from '@/utils/arithmetic'

export default {
  components: {},
  data () {
    return {

    }
  },
  computed: {
    accAdd () {
      return arithmetic.accAdd(0.0023, 0.00000000000001)
    },
    accSub () {
      return arithmetic.accSub(0.0023, 0.00000011)
    },
    accMul () {
      return arithmetic.accMul(0.0023, 100)
    },
    accDiv () {
      return arithmetic.accDiv(0.0023, 0.00001, 2)
    },
    accMod () {
      return arithmetic.accMod(12.24, 10)
    }
  },
  methods: {

  },
  mounted () {

  }
}
</script>
<style lang='less' scoped>
</style>
